package com.yf.dxapp.module.app.controller.admin.appuser.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppUserPageReqVO extends PageParam {

    @Schema(description = "微信Openid", example = "24360")
    private String openId;

    @Schema(description = "微信统一ID", example = "31993")
    private String unionId;

    @Schema(description = "微信头像")
    private String avatar;

    @Schema(description = "手机号码")
    private String mobile;

    @Schema(description = "名称", example = "芋艿")
    private String name;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "团队编码")
    private String tCode;

    @Schema(description = "推荐人ID", example = "14875")
    private Long rid;

    @Schema(description = "上级ID", example = "24146")
    private Long pid;

    @Schema(description = "团队树")
    private String team;

    @Schema(description = "级别名称", example = "12975")
    private Long levelId;

    @Schema(description = "加入时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] time;

    @Schema(description = "ENUM-状态:ACTIVE-正常,BAN-禁用", example = "1")
    private Integer status;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "是否是VIP负责人")
    private Integer vip;

    @Schema(description = "团队层次")
    private Integer teamLv;

    @Schema(description = "团队编号")
    private String teamCode;

    @Schema(description = "钻石VIP")
    private Integer zsVip;

    @Schema(description = "固定比例")
    private BigDecimal percent;

    @Schema(description = "手动级别")
    private Integer manLv;

    @Schema(description = "服务商", example = "15043")
    private Long fid;

    @Schema(description = "抖音账号")
    private String dyNumber;

    @Schema(description = "升级时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] lvTime;

    @Schema(description = "小程序openId", example = "25905")
    private String miniOpenId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}